import httpInstance from "@/utils/http.js";
// 用户登录
export const userLogin = (params) => {
    return httpInstance({
        url: '/user/user/login',
        method: 'POST',
        params
    })
}
// 用户登录
export const customerLogin = (params) => {
    return httpInstance({
        url: '/user/customer/login',
        method: 'POST',
        data:params
    })
}

// 用户登录
export const wxLogin = () => {
    return httpInstance({
        url: '/wechat/login/qrcode',
        method: 'GET',
    })
}
// 用户登录
export const alipayLogin = () => {
    return httpInstance({
        url: '/alipay/login',
        method: 'GET',
    })
}